package cn.cimoc.model.po;


import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class TProduct {
  @TableId(type = IdType.AUTO)
  private Long id;
  private Long categoryId;
  private String itemType;
  private String title;
  private String sellPoint;
  private Long price;
  private Long num;
  private String image;
  private Long status;
  private Long priority;
  @TableField(fill = FieldFill.INSERT)
  private LocalDateTime createdTime;
  private String modifiedUser;
  @TableField(fill = FieldFill.INSERT_UPDATE)
  private LocalDateTime modifiedTime;
  private String createdUser;
}
